#
# {{ ansible_managed }}
#
/data/download.ceph.com/logs/*.log {
	daily
	missingok
	rotate 30
	compress
	delaycompress
	notifempty
	dateext
	create 640 www-data adm
	sharedscripts
	prerotate
		if [ -d /etc/logrotate.d/httpd-prerotate ]; then \
			run-parts /etc/logrotate.d/httpd-prerotate; \
		fi \
	endscript
	postrotate
		[ -s /run/nginx.pid ] && kill -USR1 `cat /run/nginx.pid`
	endscript
}
